package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Package;

import java.util.List;

public interface PackageService {

    /**
     * 查询检查组信息
     * @return
     */
    List<CheckGroup> findAll();

    /**
     * 添加套餐
     * @param packages
     * @param checkgroupIds
     */
    void add(Package packages, Integer[] checkgroupIds);

    PageInfo<Package> findPage(QueryPageBean queryPageBean);
}
